@tailwind base;
@tailwind components;
@tailwind utilities;

/* 基础样式重置 */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #f8fafc;
  background-color: #0f172a;
}

/* 自定义组件类 */
.r2mo-container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .r2mo-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .r2mo-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.r2mo-button {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 200ms;
}

.r2mo-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid #475569;
  background-color: rgba(0, 0, 0, 0.2);
  color: #f8fafc;
  transition: all 200ms;
}

.r2mo-input::placeholder {
  color: #94a3b8;
}

.r2mo-input:focus {
  outline: none;
  ring: 2px solid #1890ff;
  border-color: transparent;
  backdrop-filter: blur(8px);
}

.r2mo-card {
  border-radius: 0.75rem;
  border: 1px solid #475569;
  background-color: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}